/**
 * 
 */
package ch.uzh.ifi.ddis.ds2011.a3;

import com.signalcollect.javaapi.DataGraphVertex;

/**
 * Author: Floarea Serban<br>
 * The University of Z&uuml;rich<br>
 * Dynamic and Distributed Information Systems Group<br>
 * Date: Nov 28, 2011<br>
 * <br>
 * <p/>
 * serban@ifi.uzh.ch<br>
 * http://www.ifi.uzh.ch/ddis/people/serban/<br>
 * <br>
 */
public class SegregationAgent extends
		DataGraphVertex<Integer, Boolean, Boolean> {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Float equalityThreshold;

	public SegregationAgent(Integer id, Boolean initialState, Float eqThreshold) {
		super(id, initialState);
		equalityThreshold = eqThreshold;
	}

	@Override
	public Boolean collect(Boolean oldState, Iterable<Boolean> mostRecentSignals) {
		//TODO: IMPLEMENT THIS METHOD !
		return false;
	}
}